package com.activiti6.demo;

import org.activiti.engine.*;
import org.activiti.engine.impl.RuntimeServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class ActivitiTest {

    @Autowired
    private RuntimeService runtimeService;

    @Autowired
    private TaskService taskService;

    @Autowired
    private IdentityService identityService;

    @Autowired
    private RepositoryService repositoryService;

    @Autowired
    private ProcessEngine processEngine;

    @Autowired
    private HistoryService historyService;

    public void test() {
        try {
            runtimeService.setVariable("", "", "");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
